<div class="container">
	<div class="row">
		<div class="input-group index-search">
			<input type="text" class="form-control input-lg"><span class="input-group-addon btn btn-primary">搜索</span>
		</div>
	</div>
	
	<div class="row">
		<!--文章內容 START-->
		<if condition="$data['list']">
		<foreach name="data.list" item="v">
		<div class="ar-item">
			<div class="col-md-4 text-title">
				<h2><a href="/a/{$v['aid']}.html">{$v['title']}</a></h2>
			</div>
			<if condition="$v['img'] neq ''">
			<div class="col-md-4 text-pic">
				<a href="/a/{$v['aid']}.html"><img src="{$v['img']}"></a>
			</div>
			</if>
			<div class="col-md-4 text-excerpt">
				<div class="alert-content">{:msubstr($v['excerpt'],0,340)}</div>
			</div>
			<div class="col-md-4 text-go">
				<span>作者：{$v['author']}</span>
				<span>发布日期：{$v['add_time']|date="Y-n-d",###}</span>
				<a href="/a/{$v['aid']}.html" class="btn btn-danger btn-sm btn-go">阅读<strong class="badge">{$v['hits']}</strong></a>
			</div>
		</div>
		</foreach>
		</if>
		<if condition="$data['page']">
		<!--分页区域 START-->
		<div class="pagination" style="margin-left:20px;">
			{$data.page}
		</div>
		</if>
		<!--分页区域 END-->
	</div>
</div>